package com.animal.service;


import com.animal.entity.pojo.ABlog;
import com.animal.entity.vo.ABlogVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ABlogService {
    /**
     * 显示博客
     * @return
     */
    List<ABlogVo> getBlog();

    /**
     * 发表博客
     * @param aBlog
     * @return
     */
    boolean addBlog(ABlog aBlog);

    boolean delete(@Param("id") Integer id);

    boolean deleteByIds(@Param("ids") List<Integer> ids);
}
